/*
 * @Description:
 * @version:
 * @Author: sunqian_sr
 * @Date: 2022-11-29 11:09:06
 * @LastEditors: Andy
 * @LastEditTime: 2022-11-29 11:09:45
 */
import hasPermi from './permission/hasPermi'

const install = function (Vue) {
  Vue.directive('hasPermi', hasPermi)
}

if (window.Vue) {
  window.hasRole = hasRole
  Vue.use(install) // eslint-disable-line
}

export default install
